package com.abc.scholarship.common.constants;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-07-02  21:39
 */
public class CacheConstant {
    /**
     * 项目名称
     */
    public static final String PROJECT = "scholarship:";

    public static final String IMPORT_KEY = "stu_import_key:%s";
    public static final String APPLY_RES = "apply_res:%s";

    public static final Long APPLY_RES_EXPIRE_TIME = 3L;
    public static final String NOTICE_YEAR = "notice_year:%s";

    public static String getKey(String key, Object value){
        return PROJECT + String.format(key, value);
    }
}
